<h3>ESTACI&Oacute;N 1: Inspecci&oacute;n inicial</h3>

<?php 
    // echo "<pre>";
    // print_r($this->request->data);
    // echo "<pre>"; 

    echo $this->Form->create('ServiceOrderRow', array('action' => 'inspeccion_inicial'));
    echo $this->Form->input('id', array('type' => 'hidden'));    
    $tipos = array('A' => 'A', 'B'=>'B', 'C'=>'C', 'D'=>'D', 'F'=>'F', 'G'=>'G'); 
    echo $this->Form->create('ServiceOrderRow'); 
    echo $this->Form->input('service_order_id',  array('type' => 'hidden'));
    $ubicacion_terminada = array('1' => 'Sector A', '2'=>'Sector B', '3'=>'Sector C', '4'=>'Sector D', '5'=>'Sector F', '6'=>'Sector G'); 
     //Cambia a estado: pulido
    echo $this->Form->input('estado_cod',  array('type' => 'hidden', 'value' => '10'));

?>

<table class = "table table-striped">
     <tr>
        <td class="title">Recapados Anteriores: </td>
        <td class="text"><?php echo $this->Form->radio('recapados_ant',array( 2 =>'   SI ',  1 =>'   NO '), array('empty' => false, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Reparaciones Anteriores: </td>
        <td class="text"><?php echo $this->Form->radio('reparaciones_ant',array( 2 =>'   SI ',1 =>'   NO ',), array('empty' => false, 'label' => false, 'legend' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Apta: </td>
        <td class="text"><?php  echo $this->Form->radio('apta', array( 2=>'  No Apta  ', 1 =>'  Apta  '), array('empty' => false, 'label' => false, 'legend' => false)); ?>
        </td>
    </tr>
    <tr>
        <td class="title">Rechazar cubierta: </td>
        <td class="text"><?php  echo $this->Form->radio('estado_cod', array( 2=>'  SI  ', 7 =>'  NO  '), array('empty' => false, 'label' => false, 'legend' => false)); ?>
        </td>
    </tr>
    <tr>
        <td class="title">Razon para no ser apta: </td>
        <td class="text"><?php echo $this->Form->input('razon_no_apta', array('label' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Ubicacion terminada: </td>
        <td class="text"><?php echo $this->Form->select('ubicacion_terminada', $ubicacion_terminada, array('label' => false)); ?></td>
    </tr>
    <tr>
       
        <td colspan="2" class="button"><?php echo $this->Form->end('Guardar'); ?></td>
    </tr>

</table>


